<template>
  <span class="cell-text">
    <template v-if="dictKey">
      {{ value | dictLabel(dictKey) }}
    </template>
    <template v-else>
      {{ value }}
    </template>
  </span>
</template>

<script>
export default {
  name: "CellText",
  props: ['value', 'dictKey']
}
</script>

<style scoped>

</style>
